package cn.edu.scau.cmi.ema.service;

import cn.edu.scau.cmi.ema.base.CmiPagination;
import cn.edu.scau.cmi.ema.domain.Detectmethod;

import java.util.List;
import java.util.Map;
import java.util.Set;


public interface DetectmethodService {

	public Detectmethod saveDetectmethod(Detectmethod detectmethod);

	public Set<Detectmethod> loadDetectmethods();

	public Set<Detectmethod> loadReferenceDetectmethods(Set<Detectmethod> detectmethods);

	public Set<Detectmethod> loadDetectmethodsByIdSet(Set<Integer> detectmethodsId);

	public Map<String, ?> loadDetectmethodObjectReferencedSet(Detectmethod detectmethod);

	public Map<String, ?> loadDetectmethodClassReferencedSet(Detectmethod detectmethod);

	public void deleteDetectmethod(Detectmethod detectmethod);

	public void deleteDetectmethods(Set<Integer> deleteDetectmethodsId);

	public List<Detectmethod> findAllDetectmethods(Integer startResult, Integer maxRows);

	public Detectmethod findDetectmethodByPrimaryKey(Integer id);

	public Integer countDetectmethods();

	public Integer countDetectmethods(CmiPagination page);

	public Integer countDetectmethodsByName(String queryName);

	public Integer countDetectmethodsByDetachedCriteria(CmiPagination page);

}
